home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3236 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: w351zrz.zrz.TU-Berlin.DE!rawneiha
  2. From: rawneiha@w351zrz.zrz.TU-Berlin.DE (Philipp Boerker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Amiga Memory Map Needed! / ExecBase
  5. Date: 9 Feb 1996 12:09:43 GMT
  6. Organization: Technical University of Berlin, Germany
  7. Message-ID: <4ffdi7$rgc@news.cs.tu-berlin.de>
  8. References: <4f9itc$ld8@rock101.genie.net> <4facl8$ga0@brachio.zrz.TU-Berlin.DE> <wulfraedDMFxn6.L3y@netcom.com> <4fcnev$b3j@brachio.zrz.TU-Berlin.DE> <4fd3fj$548@serpens.rhein.de>
  9. NNTP-Posting-Host: w351zrz.zrz.tu-berlin.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13.  
  14. mlelstv@serpens.rhein.de (Michael van Elst) writes:
  15.  
  16.  
  17. >>It will have it from an fixed address of course, but this address could 
  18. >>vary from computer to computer, from OS version to OS version. No user code
  19. >>should rely on fixed addresses or other hardware. Supervisor code has to.
  20.  
  21. [rude corrections cut here ;) ]
  22.  
  23. >The only method that avoids any absolute address would be to pass a pointer
  24. >to every new task, which wouldn't be consistent (interrupts still have to
  25. >fetch ExecBase from a fixed address) and requires extra magic (because the
  26. >first task has to magically "know" the pointer).
  27.  
  28. This fixed address could be a constant that differs from compilation to
  29. compilation of the OS.
  30.  
  31.  
  32. > And all this just for aesthetics with not a single advantage in
  33. > functionality.
  34.  
  35. It wouldn't be to much effort to pass ExecBase at the beginning. The user
  36. code would have to store it (move.l a6,ExecBase) and go on reading it from
  37. there (move.l ExecBase,a6). Where is the problem?
  38.  
  39. Regards,
  40. Phil.
  41.  
  42.